package com.doudou.collection.domain.service;

import com.doudou.collection.orm.dto.UserCollectDTO;
import com.doudou.collection.orm.dto.UserLikeDTO;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

@Transactional
@Repository
public interface UserLikeCollectService {
    /**
     *  用户点赞
     */
    String userLike(UserLikeDTO userLikeDTO,Long blogId);


    /**
     * 用户收藏
     * @param userCollectDTO
     */
    String userCollect(UserCollectDTO userCollectDTO,Long blogId);
}
